package br.com.werp.suporte.Usuario;
import java.util.*;
import org.apache.struts.action.*;
import javax.servlet.http.*;

/**
 * Creation Date 20/09/2004 10:10:36
 * Last Modify Date 16/06/2006 12:38:21
 */

public class UsuarioActionForm extends org.apache.struts.action.ActionForm {
  public String js;
  public String usur_nome;
  public String usur_login;
  public String usuarios;
  private boolean valida = false;
  public UsuarioActionForm() {
  }
  /**
    * JS: Gets the value of this field.
    */
  public String getJs() {
    return js;
  }
  /**
     * JS: Sets thhe value for this field.
     */
  public void setJs(String JS) {
    js = JS;
  }
  /**
    * USUR_NOME: Gets the value of this field.
    */
  public String getUsur_nome() {
    return usur_nome;
  }
  /**
     * USUR_NOME: Sets thhe value for this field.
     */
  public void setUsur_nome(String USUR_NOME) {
    usur_nome = USUR_NOME;
  }
  /**
    * USUR_LOGIN: Gets the value of this field.
    */
  public String getUsur_login() {
    return usur_login;
  }
  /**
     * USUR_LOGIN: Sets thhe value for this field.
     */
  public void setUsur_login(String USUR_LOGIN) {
    usur_login = USUR_LOGIN;
  }
  /**
    * USUARIOS: Gets the value of this field.
    */
  public String getUsuarios() {
    return usuarios;
  }
  /**
     * USUARIOS: Sets thhe value for this field.
     */
  public void setUsuarios(String USUARIOS) {
    usuarios = USUARIOS;
  }
  /**
    * Reset all fields.
    */
  public void reset(org.apache.struts.action.ActionMapping mapping,
      javax.servlet.http.HttpServletRequest request) {
    js = null;
    usur_nome = null;
    usur_login = null;
    usuarios = null;
  }
  /**
    * Validate fields and return ActionErrors.
    */

  public ActionErrors validate(org.apache.struts.action.ActionMapping mapping,
      javax.servlet.http.HttpServletRequest request) {
    ActionErrors errors = new ActionErrors();
    valida = false;
    if (errors != null && errors.size() > 0) {
      javax.servlet.http.HttpSession session = request.getSession(true);
      ActionForward actionForward = null;
      session.setAttribute(mapping.getName(), this);
    }
    return errors;
  }
}
